{include file="$usertemplate/header.temp.html"}
{include file="$usertemplate/left.temp.html" title=left}
{assign var=formId value='addItem'}
{assign var=rightPanel value='hidden'}

<div id="content">
<div class="highlight">
<h2><a href="">{$amessages.control_panel}</a> &raquo; {$amessages.add_questions}</h2>
<ul id="tablist">
<li class="current"><a href="{$script}?op=manage&amp;part=questions&amp;act=add&amp;pId={$pId}" title="{$amessages.add_questions}">{$amessages.add_questions}</a> </li>
<li><a href="{$script}?op=manage&part=questions&act=list" title="{$amessages.list_questions}">{$amessages.list_questions}</a> </li>
<li><a href="{$script}?op=manage&part=questions&act=list&plus=cleanTrash" title="{$amessages.clean_trash}">{$amessages.clean_trash}</a> </li>
</ul>
{if $infoText}
<div class="{$infoClass}">
<h4>Result:</h4>
<p>{$infoText}</p>
</div>
{/if}
<div class="formType">
<form action="{$script}" method="post" id="{$formId}" name="{$formId}"  enctype="multipart/form-data">
<fieldset>
<p>
<label for="status">{$amessages.status} *</label>
<span>{$amessages.status_help}</span>
<select name="status">
{$listStatus}
</select>
</p>
<!--<p>
<label for="status">{$amessages.language} *</label>
<span>{$amessages.language_help}</span>
<select name="addLang">
{$listLang}
</select>
</p>-->
<!--<p>
<label for="sId">{$amessages.subject} *</label>
<span>{$amessages.parent_help}</span>
<select name="sId">
<option value="-1">All</option>
{$listSubject}
</select></p>
<p>
<label for="slug">{$amessages.slug} *</label>
<span>{$amessages.slug_help}</span>
<input type="text" name="slug" value="{$listObject->getSlug()}" />
</p>
<p>
<label for="people">{$amessages.fname} *</label>
<span>{$amessages.people_help}</span>
<input type="text" name="people" value="{$listObject->getPeople()}" />
</p>
<p>
<label for="address">{$amessages.address} *</label>
<span>{$amessages.address_help}</span>
<input type="text" name="address" value="{$listObject->getAddress()}" />
</p>
<p>
<label for="tel">{$amessages.tel} *</label>
<span>{$amessages.en_name_help}</span>
<input type="text" name="tel" value="{$listObject->getTel()}" />
</p>
<p>
<label for="email">{$amessages.email} *</label>
<span>{$amessages.email_help}</span>
<input type="text" name="email" value="{$listObject->getEmail()}" />
</p>
-->
<p>
<label for="slug">{$amessages.title} *</label>
<span>{$amessages.title_help}</span>
<input type="text" name="slug" value="{$listObject->getSlug()}" />
</p>
<p>
<label for="questions">{$amessages.questions} *</label>
<span>{$amessages.questions_help}</span>
<textarea name="question" id="question" rows="20" cols="5" class="mceAdvanced">{$listObject->getQuestions()}</textarea>
</p>
<p>
<label for="answers">{$amessages.answers} *</label>
<span>{$amessages.answers_help}</span>
<textarea name="answers" id="answers" rows="20" cols="5" class="mceAdvanced">{$listObject->getAnswers()}</textarea>
</p>
<p>
<label for="vn_name">{$amessages.position}</label>
<span>{$amessages.position_help}</span>
<input type="text" name="position" value="{$listObject->getPosition()}" />
</p>
<!--
<p class="radioType">
<input type="radio" name="radio3" id="radio3" />
<label for="radio3">radio 3</label>
<input type="radio" name="radio3" id="radio4" />
<label for="radio4">radio 4</label>
</p>
<p class="radioType">
<input type="checkbox" name="checkbox2" id="checkbox2" />
<label for="checkbox2">checkbox 2</label>
</p>
-->
<p class="btnType">
<input type="hidden" name="op" value="{$op}" />
<input type="hidden" name="part" value="{$part}" />
<input type="hidden" name="act" value="{$act}" />
<input type="hidden" name="searchTerms" value="{$searchTerms}"/>
<input type="hidden" name="searchStatus" value="{$searchStatus}"/>
<input type="hidden" name="oId" value="{$listObject->getId()}"/>
<span><input type="reset" value="{$amessages.reset}" title="{$amessages.reset}" name="btnReset" /></span>
<span><input type="submit" value="{$amessages.save}" title="{$amessages.save}" name="btnSubmit" /></span>
</p>
</fieldset>
</form>
</div>
</div>
</div>
</div>
<div class="push"></div>
</div>
{include file="$usertemplate/footer.temp.html" title=footer}
